package com.tarena.csmall.front.web.mapper;

import cn.tedu.mall.pojo.product.vo.SpuListItemVO;
import cn.tedu.mall.pojo.product.vo.SpuStandardVO;
import java.util.List;
import org.apache.ibatis.annotations.Select;

public interface SpuMapper {
    @Select("select * from pms_spu where category_id=#{id}")
    List<SpuListItemVO> seletcSpusByCategoryId(Long id);
    @Select("select * from pms_spu where id=#{id}")
    SpuStandardVO selectSpuByPrimaryKey(Long id);
}
